import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const booking: AppRouteRecordRaw = {
  path: '/booking',
  name: 'booking',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '预约借用管理',
    ignoreCache: true,
    requiresAuth: true,
    icon: 'icon-calendar-clock',
    order: 3,
    roles: 'system:booking',
  },
  children: [
    {
      path: 'roombooking',
      name: 'roombooking',
      component: () => import('@/views/roombooking/index.vue'),
      meta: {
        locale: '预约教室列表',
        ignoreCache: true,
        requiresAuth: true,
        roles: 'system:roombooking',
      },
      },
    {
      path: 'devicebooking',
      name: 'devicebooking',
      component: () => import('@/views/devicebooking/index.vue'),
      meta: {
        locale: '借用设备列表',
        ignoreCache: true,
        requiresAuth: true,
        roles: 'system:devbooking',
      },
      },
     
     

  ],
};

export default booking;